
<div class="page">
	<div class="pageHeader" style="display: none;">
		<form onsubmit="return navTabSearch(this);" action="demo_page1.html" method="post">
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>布局列内容管理：</label>
					<input type="text" />
				</li>
			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
					<li><a class="button" href="demo_page6.html" target="dialog" rel="dlg_page1" title="查询框"><span>高级检索</span></a></li>
				</ul>
			</div>
		</div>
		</form>
	</div>
	
	<div class="pageContent">
		<div class="panelBar" style="display: none;" >
			<ul class="toolBar">
				<li><a class="add" href="management_page_add.html" target="dialog" rel="manage_page_add" mask="true" width="600" height="500"><span>添加</span></a></li>
				<li><a class="delete" url="management/page/@{page_id}" area="tbody.list" callback="reload" type="delete" target="navTabTodo" title="确定要删除选中的数据吗？" warn="请选择需要删除的数据项！"><span>删除</span></a></li>
				<li class="line">line</li>
			</ul>
		</div>
		
			<table class="list" width="98%" layoutH="53">
				<thead>
					<tr>
						<th width="25"><input type="checkbox" name="objectId" value="item_id"/></th>
						<th width="80">编号</th>
						<th width="30%">内容标题</th>
						<th width="30%">类型</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody style="display: none;" class="templet">
					<tr content=${content_id}>
						<td><input type="checkbox" name="content_id" value="${content_id}"/></td>
						<td>${num}</td>
						<td name="keyword">${title}</td>
						<td>${tp}</td>
						<td>
							<!-- 
							<a class="edit" href="management_page_update.html?page_id=${page_id}" target="dialog" warn="非法参数（${page_id}）" width="750" height="600" callback="updateManagementPageItem"><span>修改</span></a>
							-->
							<a class="edit" url="/page/layout/item/content/${content_id}/before/0"
								callback="reload" type="put" target="navTabTodo">上移</a>
							<a class="edit" url="/page/layout/item/content/${content_id}/after/0"
								callback="reload" type="put" target="navTabTodo">下移</a>
						</td>
					</tr>
				</tbody>
				<tbody class="list" action="/page/layout/item/1/content">
					
				</tbody>
			</table>
		
		<div class="panelBar">
			<div class="pages"></div>
			<div class="pagination" totalCount="0" numPerPage="20" pageNumShown="10" currentPage="1"></div>
		</div>
	
	</div>
</div>
<script>
function updateManagementPageItem(item){
	var table=$("table.list");
	var page=$("tr[page="+item.page_id+"]",table);
	entity.find("td[name=title]").text(item.title);
	entity.find("td[name=keyword]").text(item.keyword);
	entity.find("td[name=description]").text(item.description);
	alert("更新成功");
}
</script>